<script setup>
defineProps({
  title: {
    type: String,
    default: "个人中心",
  },
});
</script>

<template>
  <van-nav-bar
    :title="title"
    left-text="返回"
    left-arrow
    @click-left="$router.go(-1)"
  />
</template>

<style lang="less" scoped>
:deep(.van-icon),
:deep(.van-nav-bar__text) {
  color: #000;
}
</style>